package com.opc.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "car")//application.xml文件
@Data
public class CarTypeProperties {
    private String camry;
    private String levin;
    private String camryOriginal1;
    private String camryOriginal2;
    private String levinOriginal1;
    private String levinOriginal2;
}
